package cn.wzptsoft.mall.service;

import cn.wzptsoft.mall.pojo.OrderItem;
import cn.wzptsoft.mall.pojo.dto.PutOrderDTO;
import cn.wzptsoft.mall.pojo.vo.OrderInfoVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface IOrderItemService extends IService<OrderItem> {
    void add(Long orderId, List<PutOrderDTO.SpuInfoDTO> spuInfo);

    Map<Integer, List<OrderInfoVO.OrderInfoVoItem>> getOrderInfoVoItemByIds(List<Integer> list);
}
